package com.shanhy.lixp.need001.model;

/**
 * 企业实体
 * 
 * @author Shanhy
 *
 */
public class QichachaCompanyDetail {

	private String id;
	private String name;
	private String scontacts;// 联系人
	private String businessScope; // 经营范围
	private String address;// 企业地址

	private String errorCode;// 错误代码

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getScontacts() {
		return scontacts;
	}

	public void setScontacts(String scontacts) {
		this.scontacts = scontacts;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getBusinessScope() {
		return businessScope;
	}

	public void setBusinessScope(String businessScope) {
		this.businessScope = businessScope;
	}

	public String getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((name == null) ? 0 : name.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		QichachaCompanyDetail other = (QichachaCompanyDetail) obj;
		if (name == null) {
			if (other.name != null)
				return false;
		} else if (!name.equals(other.name))
			return false;
		return true;
	}

}
